package com.niiwoo.civet.account;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Created by ace on 2017/9/25.
 */
@EnableAspectJAutoProxy(proxyTargetClass = true)
@SpringBootApplication
@ImportResource("classpath:account-provider.xml")
@MapperScan(basePackages = {"com.niiwoo.civet.account.dao.mapper"})
@EnableAsync
public class AccountServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AccountServiceApplication.class, args);
        com.alibaba.dubbo.container.Main.main(args);
    }

}
